package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.ShopCard;
import com.ruoyi.business.vo.ShopCardVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 卡卷Mapper接口
 *
 * @author Tellsea
 * @date 2025-01-19
 */
public interface ShopCardMapper extends BaseMapper<ShopCard> {

    Page<ShopCardVo> queryList(Page<?> page, @Param("entity") ShopCardVo entity);

    List<ShopCardVo> queryList(@Param("entity") ShopCardVo entity);

    ShopCardVo queryById(@Param("id") Long id);

    String getApplyDeptName(@Param("applyId") String applyId);
}
